<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function aaa(){
				window.open("http://www.baidu.com","blank","width=600,height=400,top=100px,left=0")
			}
			
		</script>
	</head>
	<body>
		
		<input type="button" onClick="aaa()" value="打开一个窗口" />
		
	</body>
</html>
